projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
640ad75
)
(setenv): Use add-to-history.
author
Kim F. Storm
<storm@cua.dk>
Fri, 5 May 2006 23:36:55 +0000
(23:36 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Fri, 5 May 2006 23:36:55 +0000
(23:36 +0000)
lisp/env.el
patch
|
blob
|
history
diff --git
a/lisp/env.el
b/lisp/env.el
index 1b6c038cbea8eed6ac6a4e533d3978198b8b0b74..5a3de0ac71235548a37312d1fd530d51a94516b9 100644
(file)
--- a/
lisp/env.el
+++ b/
lisp/env.el
@@
-117,7
+117,7
@@
a side-effect."
(let* ((var (read-envvar-name "Set environment variable: " nil))
(value (getenv var)))
(when value
- (
push value setenv-history
))
+ (
add-to-history 'setenv-history value
))
;; Here finally we specify the args to give call setenv with.
(list var
(read-from-minibuffer (format "Set %s to value: " var)